package com.jzit168.module_home.ui.home

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.jzit168.module_home.R
import com.jzit168.module_home.entity.DemoBean

/**
 *@Desc:
 *@Author: Android Developer
 *@Date: 2020/10/22
 *
 **/
class ContentAdapter : BaseQuickAdapter<DemoBean, BaseViewHolder>(R.layout.item_content) {

    override fun convert(holder: BaseViewHolder, item: DemoBean) {
        holder.setText(R.id.itemTitle, item.title)
    }
}